package com.gxa.modules.model.entity.fee;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.util.Date;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;
import lombok.experimental.Accessors;

/**
 * <p>
 * 门诊消费信息表
 * </p>
 *
 * @author gxa
 * @since 2022-11-12 11:12:58
 */
@Getter
@Setter
@Accessors(chain = true)
@TableName("t_o_consume_order_info")
@ApiModel(value = "OConsumeOrderInfo对象", description = "门诊消费信息表")
public class OConsumeOrderInfo implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty("订单号")
    @TableId(value = "order_id", type = IdType.AUTO)
    private String orderId;

    @ApiModelProperty("支付方式：0 就诊卡余额，1 微信")
    @TableField("expense_type")
    private Integer expenseType;

    @ApiModelProperty("订单状态：0 未支付，1 已支付")
    @TableField("order_status")
    private Integer orderStatus;

    @ApiModelProperty("取消时间")
    @TableField("cancellation_time")
    private Date cancellationTime;

    @ApiModelProperty("删除：0 未删除，1 已删除")
    @TableField("is_delete")
    private Integer isDelete;

    @ApiModelProperty("订单备注")
    @TableField("order_notes")
    private String orderNotes;

    @ApiModelProperty("卡内余额")
    @TableField("card_balance")
    private Double cardBalance;

    @ApiModelProperty("来源：0 微信小程序")
    @TableField("order_source")
    private Integer orderSource;

    @ApiModelProperty("订单总额·")
    @TableField("order_total")
    private Double orderTotal;


}
